﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/PmUI/PmMaster.Master" AutoEventWireup="true" CodeBehind="AttendenceStatus.aspx.cs" Inherits="HRM.UI.PmUI.Profile.AttendenceStatus" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContentBody" runat="server">
     <link href="../../../Styles/Admin/AttendeceUICss.css" rel="stylesheet" type="text/css" />
    <table width="100%" class="employeeCode">
        <tr class="employeeCode">
            <td>
                <asp:Label runat="server" ID="lblEmpCode"></asp:Label>
            </td>
            <td align="right">
                <asp:Label runat="server" ID="lblCommentMsg"></asp:Label>
            </td>
        </tr>
    </table>
    <asp:GridView runat="server" ID="attendanceReportGdv" Width="100%" AutoGenerateColumns="False"
        OnRowEditing="attendanceReportGdv_RowEditing" OnRowCancelingEdit="attendanceReportGdv_RowCancelingEdit"
        OnRowUpdating="attendanceReportGdv_RowUpdating" CssClass="GridviewStyle" BorderColor="#999999"
        BorderStyle="None" BorderWidth="1px" CellPadding="3" PageSize="31" GridLines="Both">
        <AlternatingRowStyle BackColor="#DCDCDC" />
        <Columns>
            <asp:TemplateField Visible="False">
                <EditItemTemplate>
                    <asp:Label ID="lblId" runat="server" Text='<%# Eval("Id") %>'></asp:Label>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="Date" HeaderText="Date" ReadOnly="True" />
            <asp:BoundField DataField="InTime" HeaderText="In Time" ReadOnly="True" />
            <asp:BoundField DataField="OutTime" HeaderText="Out Time" ReadOnly="True" />
            <asp:BoundField DataField="Duration" HeaderText="Duration" ReadOnly="True" />
            <asp:BoundField DataField="Status" HeaderText="Status" ReadOnly="True" />
            <asp:TemplateField HeaderText="Comments">
                <EditItemTemplate>
                    <asp:TextBox ID="txtComment" runat="server" Text='<%# Bind("Comments") %>'  CssClass="commentstexBox"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("Comments") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:CommandField ShowEditButton="True" />
        </Columns>
        <FooterStyle CssClass="GridViewFooterStyle" BackColor="#CCCCCC" ForeColor="Black" />
        <HeaderStyle CssClass="GridViewHeaderStyle" Font-Bold="True" />
        <PagerStyle CssClass="GridViewFooterStyle" HorizontalAlign="Center" />
        <RowStyle ForeColor="Black" BackColor="#EEEEEE" />
        <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#0000A9" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#000065" />
    </asp:GridView>
</asp:Content>
